package com.maikang.exammall.util;

import java.util.Optional;

public class EnvironmentUtil {
    public static String getEnvironment() {
        return Optional.ofNullable(System.getenv("ENV")).orElse("dev");
    }

    public static String getVersion() {
        return Optional.ofNullable(System.getenv("VERSION")).orElse("UNKNOWN");
    }
}
